from rest_framework.routers import DefaultRouter

from re_st_api.views import UserViewSet, GroupViewSet, BookViewSet

router = DefaultRouter()

router.register('users', UserViewSet)
router.register('groups', GroupViewSet)
router.register('books', BookViewSet)
